import 'package:get/get.dart';
import 'package:twitter_app/common/routers/names.dart';
import 'package:twitter_app/pages/index.dart';

class RoutePages {
  // 列表
  static List<GetPage> list = [
    GetPage(
      name: RouteNames.home,
      page: () => const HomePage(),
    ),
    GetPage(
      name: RouteNames.search,
      page: () => const SearchPagePage(),
    ),
    GetPage(
      name: RouteNames.settings,
      page: () => const SettingsPage(),
    ),
    GetPage(
      name: RouteNames.logout,
      page: () => const LogoutPage(),
    ),
  ];
}
